PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Ripples / flexi - undercurrents 3 [psychodelic mix] - mash0000 - the rivers shall inherit the children.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=3 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=1 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.900 |
| 26 | fWaveScale=2.905 |
| 27 | fWaveSmoothing=0.600 |
| 28 | fWaveParam=-0.300 |
| 29 | fModWaveAlphaStart=0.750 |
| 30 | fModWaveAlphaEnd=0.950 |
| 31 | fWarpAnimSpeed=0.010 |
| 32 | fWarpScale=100.000 |
| 33 | fZoomExponent=0.92178 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99010 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.600 |
| 45 | wave_g=0.600 |
| 46 | wave_b=0.600 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.005 |
| 50 | ob_r=1.000 |
| 51 | ob_g=1.000 |
| 52 | ob_b=1.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=24.986 |
| 60 | nMotionVectorsY=20.031 |
| 61 | mv_dx=0.065 |
| 62 | mv_dy=0.109 |
| 63 | mv_l=0.036 |
| 64 | mv_r=0.816 |
| 65 | mv_g=0.099 |
| 66 | mv_b=0.816 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=0 |
| 128 | shapecode_0_sides=4 |
| 129 | shapecode_0_additive=0 |
| 130 | shapecode_0_thickOutline=0 |
| 131 | shapecode_0_textured=0 |
| 132 | shapecode_0_num_inst=1 |
| 133 | shapecode_0_x=0.500 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=0.10000 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=1.00000 |
| 139 | shapecode_0_r=1.000 |
| 140 | shapecode_0_g=0.000 |
| 141 | shapecode_0_b=0.000 |
| 142 | shapecode_0_a=1.000 |
| 143 | shapecode_0_r2=0.000 |
| 144 | shapecode_0_g2=1.000 |
| 145 | shapecode_0_b2=0.000 |
| 146 | shapecode_0_a2=0.000 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=1.000 |
| 150 | shapecode_0_border_a=0.100 |
| 151 | shapecode_1_enabled=0 |
| 152 | shapecode_1_sides=4 |
| 153 | shapecode_1_additive=0 |
| 154 | shapecode_1_thickOutline=0 |
| 155 | shapecode_1_textured=0 |
| 156 | shapecode_1_num_inst=1 |
| 157 | shapecode_1_x=0.500 |
| 158 | shapecode_1_y=0.500 |
| 159 | shapecode_1_rad=0.10000 |
| 160 | shapecode_1_ang=0.00000 |
| 161 | shapecode_1_tex_ang=0.00000 |
| 162 | shapecode_1_tex_zoom=1.00000 |
| 163 | shapecode_1_r=1.000 |
| 164 | shapecode_1_g=0.000 |
| 165 | shapecode_1_b=0.000 |
| 166 | shapecode_1_a=1.000 |
| 167 | shapecode_1_r2=0.000 |
| 168 | shapecode_1_g2=1.000 |
| 169 | shapecode_1_b2=0.000 |
| 170 | shapecode_1_a2=0.000 |
| 171 | shapecode_1_border_r=1.000 |
| 172 | shapecode_1_border_g=1.000 |
| 173 | shapecode_1_border_b=1.000 |
| 174 | shapecode_1_border_a=0.100 |
| 175 | shapecode_2_enabled=0 |
| 176 | shapecode_2_sides=4 |
| 177 | shapecode_2_additive=0 |
| 178 | shapecode_2_thickOutline=0 |
| 179 | shapecode_2_textured=0 |
| 180 | shapecode_2_num_inst=1 |
| 181 | shapecode_2_x=0.500 |
| 182 | shapecode_2_y=0.500 |
| 183 | shapecode_2_rad=0.10000 |
| 184 | shapecode_2_ang=0.00000 |
| 185 | shapecode_2_tex_ang=0.00000 |
| 186 | shapecode_2_tex_zoom=1.00000 |
| 187 | shapecode_2_r=1.000 |
| 188 | shapecode_2_g=0.000 |
| 189 | shapecode_2_b=0.000 |
| 190 | shapecode_2_a=1.000 |
| 191 | shapecode_2_r2=0.000 |
| 192 | shapecode_2_g2=1.000 |
| 193 | shapecode_2_b2=0.000 |
| 194 | shapecode_2_a2=0.000 |
| 195 | shapecode_2_border_r=1.000 |
| 196 | shapecode_2_border_g=1.000 |
| 197 | shapecode_2_border_b=1.000 |
| 198 | shapecode_2_border_a=0.100 |
| 199 | shapecode_3_enabled=0 |
| 200 | shapecode_3_sides=4 |
| 201 | shapecode_3_additive=0 |
| 202 | shapecode_3_thickOutline=0 |
| 203 | shapecode_3_textured=0 |
| 204 | shapecode_3_num_inst=1 |
| 205 | shapecode_3_x=0.500 |
| 206 | shapecode_3_y=0.500 |
| 207 | shapecode_3_rad=0.10000 |
| 208 | shapecode_3_ang=0.00000 |
| 209 | shapecode_3_tex_ang=0.00000 |
| 210 | shapecode_3_tex_zoom=1.00000 |
| 211 | shapecode_3_r=1.000 |
| 212 | shapecode_3_g=0.000 |
| 213 | shapecode_3_b=0.000 |
| 214 | shapecode_3_a=1.000 |
| 215 | shapecode_3_r2=0.000 |
| 216 | shapecode_3_g2=1.000 |
| 217 | shapecode_3_b2=0.000 |
| 218 | shapecode_3_a2=0.000 |
| 219 | shapecode_3_border_r=1.000 |
| 220 | shapecode_3_border_g=1.000 |
| 221 | shapecode_3_border_b=1.000 |
| 222 | shapecode_3_border_a=0.100 |
| 223 | per_frame_init_1=x1 = 0.9; |
| 224 | per_frame_init_2=y1 = 0.5; |
| 225 | per_frame_init_3= |
| 226 | per_frame_init_4=x2 = 0.5; y2 = 0.5; |
| 227 | per_frame_init_5=x3 = 0.5; y3 = 0.5; |
| 228 | per_frame_init_6=x4 = 0.5; y4 = 0.5; |
| 229 | per_frame_1=decay = 1; |
| 230 | per_frame_2=xx1 = xx1*0.9 + (bass)*0.01; |
| 231 | per_frame_3=xx2 = xx2*0.9 + (treb)*0.01; |
| 232 | per_frame_4=yy1 = yy1*0.94 + (treb+bass)*0.0075; |
| 233 | per_frame_5= |
| 234 | per_frame_6=x1 = 0.5 + xx1-xx2; |
| 235 | per_frame_7=y1 = 0.5 + yy1; |
| 236 | per_frame_8= |
| 237 | per_frame_9=//x2 = 0;y2 = 0;x3 = 0;y3 = 0;x4 = 0;y4 = 0; |
| 238 | per_frame_10= |
| 239 | per_frame_11=spring = 28; |
| 240 | per_frame_12=grav = 2; |
| 241 | per_frame_13=resist = 0.2; |
| 242 | per_frame_14=bounce = 0.94; |
| 243 | per_frame_15=dt = 0.0001; |
| 244 | per_frame_16= |
| 245 | per_frame_17=vx2 = vx2*(1-resist*dt) + dt*((x1+x3-2*x2)*spring); |
| 246 | per_frame_18=vy2 = vy2*(1-resist*dt) + dt*((y1+y3-2*y2)*spring-grav); |
| 247 | per_frame_19=vx3 = vx3*(1-resist*dt) + dt*((x2+x4-2*x3)*spring); |
| 248 | per_frame_20=vy3 = vy3*(1-resist*dt) + dt*((y2+y4-2*y3)*spring-grav); |
| 249 | per_frame_21=vx4 = vx4*(1-resist*dt) + dt*((x3-x4)*spring); |
| 250 | per_frame_22=vy4 = vy4*(1-resist*dt) + dt*((y3-y4)*spring-grav); |
| 251 | per_frame_23= |
| 252 | per_frame_24=x2 = x2 + vx2; |
| 253 | per_frame_25=y2 = y2 + vy2; |
| 254 | per_frame_26=x3 = x3 + vx3; |
| 255 | per_frame_27=y3 = y3 + vy3; |
| 256 | per_frame_28=x4 = x4 + vx4; |
| 257 | per_frame_29=y4 = y4 + vy4; |
| 258 | per_frame_30= |
| 259 | per_frame_31=vx2 = if(above(x2,0),vx2,abs(vx2)*bounce); |
| 260 | per_frame_32=vx2 = if(below(x2,1),vx2,-abs(vx2)*bounce); |
| 261 | per_frame_33=vx3 = if(above(x3,0),vx3,abs(vx3)*bounce); |
| 262 | per_frame_34=vx3 = if(below(x3,1),vx3,-abs(vx3)*bounce); |
| 263 | per_frame_35=vx4 = if(above(x4,0),vx4,abs(vx4)*bounce); |
| 264 | per_frame_36=vx4 = if(below(x4,1),vx4,-abs(vx4)*bounce); |
| 265 | per_frame_37= |
| 266 | per_frame_38=vy2 = if(above(y2,0),vy2,abs(vy2)*bounce); |
| 267 | per_frame_39=vy2 = if(below(y2,1),vy2,-abs(vy2)*bounce); |
| 268 | per_frame_40=vy3 = if(above(y3,0),vy3,abs(vy3)*bounce); |
| 269 | per_frame_41=vy3 = if(below(y3,1),vy3,-abs(vy3)*bounce); |
| 270 | per_frame_42=vy4 = if(above(y4,0),vy4,abs(vy4)*bounce); |
| 271 | per_frame_43=vy4 = if(below(y4,1),vy4,-abs(vy4)*bounce); |
| 272 | per_frame_44= |
| 273 | per_frame_45= |
| 274 | per_frame_46=q1 = x1; |
| 275 | per_frame_47=q2 = x2; |
| 276 | per_frame_48=q3 = x3; |
| 277 | per_frame_49=q4 = x4; |
| 278 | per_frame_50= |
| 279 | per_frame_51=q5 = y1; |
| 280 | per_frame_52=q6 = y2; |
| 281 | per_frame_53=q7 = y3; |
| 282 | per_frame_54=q8 = y4; |
| 283 | per_frame_55= |
| 284 | per_frame_56= |
| 285 | per_frame_57=zoom = 1; |
| 286 | per_frame_58= |
| 287 | per_frame_59= |
| 288 | per_frame_60= |
| 289 | per_frame_61=bb = bb*0.99 + bass*0.02; |
| 290 | per_frame_62=mm = mm*0.99 + mid*0.02; |
| 291 | per_frame_63=tt = tt*0.99 + treb*0.02; |
| 292 | per_frame_64= |
| 293 | per_frame_65=mx = max(max(bb,mm),tt); |
| 294 | per_frame_66=mn = min(min(bb,mm),tt); |
| 295 | per_frame_67= |
| 296 | per_frame_68=ob_r = (bb-mn)/(mx-mn); |
| 297 | per_frame_69=ob_b = (mm-mn)/(mx-mn); |
| 298 | per_frame_70=ob_g = (tt-mn)/(mx-mn); |
| 299 | per_frame_71=q6 = atan2(vx4,vy4); |
| 300 | per_frame_72=q5 = sqrt(vx4*vx4 + vy4*vy4); |
| 301 | per_pixel_1= |
| 302 | per_pixel_2=dir = -q6*1 + asin(1)*1; |
| 303 | per_pixel_3= |
| 304 | per_pixel_4=b1 = 0.1; // distance |
| 305 | per_pixel_5=m1 = q5*25;//-0.6 + q5*200; // size |
| 306 | per_pixel_6=t1 = 0.05; // velocity |
| 307 | per_pixel_7= |
| 308 | per_pixel_8=xx = q4; |
| 309 | per_pixel_9=yy = 1-q8; |
| 310 | per_pixel_10= |
| 311 | per_pixel_11= |
| 312 | per_pixel_12=x1 = xx +cos(dir+1.5708)*b1; |
| 313 | per_pixel_13=y1 = yy -sin(dir+1.5708)*b1; |
| 314 | per_pixel_14= |
| 315 | per_pixel_15=x2 = xx -cos(dir+1.5708)*b1; |
| 316 | per_pixel_16=y2 = yy +sin(dir+1.5708)*b1; |
| 317 | per_pixel_17= |
| 318 | per_pixel_18=d1 = sqrt((x1-x)*(x1-x)+(y1-y)*(y1-y))-b1*2; |
| 319 | per_pixel_19=si1 = 1- 1/(1+pow(2,-d1*100)); |
| 320 | per_pixel_20= |
| 321 | per_pixel_21=d2 = sqrt((x2-x)*(x2-x)+(y2-y)*(y2-y))-b1*2; |
| 322 | per_pixel_22=si2 = 1- 1/(1+pow(2,-d2*100)); |
| 323 | per_pixel_23= |
| 324 | per_pixel_24=si3 = -pow(q5,3)*100; |
| 325 | per_pixel_25= |
| 326 | per_pixel_26=dx = (si1*sin(y1-y)*m1*d1 - si2*sin(y2-y)*m1*d2 + si3*cos(dir)*t1)*2; |
| 327 | per_pixel_27=dy = (-si1*sin(x1-x)*m1*d1 + si2*sin(x2-x)*m1*d2 - si3*sin(dir)*t1)*2; |
| 328 | per_pixel_28= |
| 329 | per_pixel_29=x = x-0.5; |
| 330 | per_pixel_30=n=20+bass*0; |
| 331 | per_pixel_31=t=time*1; |
| 332 | per_pixel_32=m= 1 - si1 - si2; |
| 333 | per_pixel_33=dx = dx + 0.002*(cos((-x+y)*n+t) + sin((x+y-1)*n+t))*m; |
| 334 | per_pixel_34=dy = dy + 0.002*(cos((x-y)*n-t) + sin((-x-y+1)*n-t))*m; |
| 335 | warp_1=`shader_body |
| 336 | warp_2=`{ |
| 337 | warp_3=` |
| 338 | warp_4=` float2 d = 0.02*aspect.zw; |
| 339 | warp_5=` float3 dx = ( GetBlur2(uv+float2(1,0)*d-floor(uv+float2(1,0)*d))-GetBlur2(uv-float2(1,0)*d-floor(uv-float2(1,0)*d)) ); |
| 340 | warp_6=` float3 dy = ( GetBlur2(uv+float2(0,1)*d-floor(uv+float2(0,1)*d))-GetBlur2(uv-float2(0,1)*d-floor(uv-float2(0,1)*d)) ); |
| 341 | warp_7=` float3 b1 = GetBlur1(uv) - 0; |
| 342 | warp_8=` d = 0.01; |
| 343 | warp_9=` float d2 = -0.02; |
| 344 | warp_10=` float1 thr = 0; |
| 345 | warp_11=` float1 c = 0.005; |
| 346 | warp_12=` |
| 347 | warp_13=` |
| 348 | warp_14=` float2 my_uv = uv - float2(dx.y,dy.y)*d - float2(dy.x,-dx.x)*d2; |
| 349 | warp_15=` ret.y = tex2D( sampler_fc_main, my_uv-floor(my_uv)).y; |
| 350 | warp_16=` ret.y += (ret.y - b1.y - thr)*.02 +c; |
| 351 | warp_17=` |
| 352 | warp_18=` |
| 353 | warp_19=` my_uv = uv - float2(dx.x,dy.x)*d - float2(dy.z,-dx.z)*d2; |
| 354 | warp_20=` ret.x = tex2D( sampler_fc_main, my_uv-floor(my_uv)).x; |
| 355 | warp_21=` ret.x += (ret.x - b1.x - thr)*.02 +c; |
| 356 | warp_22=` |
| 357 | warp_23=` |
| 358 | warp_24=` my_uv = uv - float2(dx.z,dy.z)*d - float2(dy.y,-dx.y)*d2; |
| 359 | warp_25=` ret.z = tex2D( sampler_fc_main, my_uv-floor(my_uv)).z; |
| 360 | warp_26=` ret.z += (ret.z - b1.z - thr)*.02 +c; |
| 361 | warp_27=` |
| 362 | warp_28=` |
| 363 | warp_29=`} |
| 364 | comp_1=`sampler sampler_smalltiled_colors3; |
| 365 | comp_2=`shader_body |
| 366 | comp_3=`{ |
| 367 | comp_4=` float2 d = texsize.zw*4; |
| 368 | comp_5=` float1 dx = ( GetBlur1(uv+float2(1,0)*d)-GetBlur1(uv-float2(1,0)*d) ).y; |
| 369 | comp_6=` float1 dy = ( GetBlur1(uv+float2(0,1)*d)-GetBlur1(uv-float2(0,1)*d) ).y; |
| 370 | comp_7=` float2 uv_y = uv-float2(dx,dy)*0.4; |
| 371 | comp_8=` |
| 372 | comp_9=`ret = lerp(tex2D(sampler_smalltiled_colors3, uv_y), 0, GetPixel(uv).y*0.4); |
| 373 | comp_10=` |
| 374 | comp_11=`} |
| 375 | comp_12=` |